//
//  UIButton+MKButton.m
//  Weibo_OC
//
//  Created by mac on 16/1/23.
//  Copyright © 2016年 mac. All rights reserved.
//

#import "UIButton+MKButton.h"

@implementation UIButton (MKButton)

- (instancetype)initWithTitle:(NSString *)title andWithImageName:(NSString *)imageName {
    
    if (self = [super init]) {
        [self setTitle:title forState:UIControlStateNormal];
        self.titleLabel.font = [UIFont systemFontOfSize:14];
        [self setImage:[UIImage imageNamed:imageName] forState:UIControlStateNormal];
        [self setTitleColor:[UIColor lightGrayColor] forState:UIControlStateNormal];
    }
    
    return self;

}
@end
